import math


def getPrimeNumber(numList,primeDic):
    num = len(numList)
    tmp = 0
    for i in range(0,num):
        num_sqrt = math.sqrt(numList[i])
        flag = True
        n = 2

        if numList[i]>2:
            while n<=num_sqrt:
                if((numList[i]%n)==0):
                    flag = False
                    break
                n=n+1

        if flag:
            tmp = tmp+1
            key = "primeNum"
            key = key+str(tmp)
            primeDic[key] = numList[i]


primeDic = dict()
numList = list(map(int,input().split()))
getPrimeNumber(numList,primeDic)
print(primeDic)